clean:
	make -C zlibrary/core TARGET_ARCH=openzaurus UI_TYPE=gpe clean
	make -C zlibrary/text TARGET_ARCH=openzaurus UI_TYPE=gpe clean
	make -C zlibrary/ui TARGET_ARCH=openzaurus UI_TYPE=gpe clean
	make -C fbreader TARGET_ARCH=openzaurus UI_TYPE=gpe clean

build:
	make -C zlibrary/core TARGET_ARCH=openzaurus UI_TYPE=gpe
	make -C zlibrary/text TARGET_ARCH=openzaurus UI_TYPE=gpe
	make -C zlibrary/ui TARGET_ARCH=openzaurus UI_TYPE=gpe
	make -C fbreader TARGET_ARCH=openzaurus UI_TYPE=gpe

install-240x320:
	make -C zlibrary/core TARGET_ARCH=openzaurus UI_TYPE=gpe do_install
	make -C zlibrary/text TARGET_ARCH=openzaurus UI_TYPE=gpe do_install
	make -C zlibrary/ui TARGET_ARCH=openzaurus UI_TYPE=gpe do_install
	make -C fbreader TARGET_ARCH=openzaurus UI_TYPE=gpe RESOLUTION=240x320 do_install

install-640x480:
	make -C zlibrary/core TARGET_ARCH=openzaurus UI_TYPE=gpe do_install
	make -C zlibrary/text TARGET_ARCH=openzaurus UI_TYPE=gpe do_install
	make -C zlibrary/ui TARGET_ARCH=openzaurus UI_TYPE=gpe do_install
	make -C fbreader TARGET_ARCH=openzaurus UI_TYPE=gpe RESOLUTION=640x480 do_install
